package netty.demo;

import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.SocketAddress;
import java.nio.channels.SocketChannel;

/**
 * 功能描述:<br>
 * 〈〉
 *
 * @author wxfu
 * @create 2021/11/8
 * @since 1.0.0
 */
public class Client {
    public static void main(String[] args) throws IOException {
        SocketChannel sc = SocketChannel.open();
        sc.connect(new InetSocketAddress("localhost",8080));
        SocketAddress address = sc.getLocalAddress();
        System.out.println("waiting...");
    }
}
